import Home from "../views/Home.vue";

const routes =[
     
  {
    path: '/',
    name: 'Home',
    component: Home,
    meta:{
        isShowTab:true,
        isShowNav:false,
        title:"首页",
        isAuth:true
      }

  },
  {
    path:"/classify",
    name:'classify',
    component: ()=> import("../views/Classify.vue"),
    meta:{
      isShowTab:true,
      isShowNav:false,
      title:"购物车"
    }
  },

  {
    path:'/ShopCar',
    name:"ShopCar",
    component: ()=> import("../views/ShopCar.vue"),
    meta:{
        isShowTab:true,
        isShowNav:true,
        title:"购物车"
      }
  },
  {
    path:"/Mine",
    name:"Mine",
    component: ()=> import("../views/Mine.vue"),
    meta:{
        isShowTab:true,
        // isShowNav:true,
        title:"我的"
      }
  },
  {
    path:"/kanjia",
    name:'kanjia',
    component: ()=> import("../views/kanjia.vue"),
    meta:{
        isShowTab:true,
        isShowNav:true,
        title:"砍价"
      }
  },
  {
    path:"/datalist",
    name:'datalist',
    component: ()=> import("../views/Datalist.vue"),
    meta:{
        isShowTab:false,
        isShowNav:true,
        title:"详情"
      }
  },
  {
    path:"/login",
    name:'login',
    component: ()=> import("../views/Login.vue"),
  
  },
  {
    path:'/details',
    name:'details',
    component: ()=> import ("../views/details.vue")
  },
  {
    path: '/dizhi',
    name: 'dizhi',
    component: ()=> import("../views/dizhi.vue"),
    meta:{
        isShowTab:false,
        isShowNav:true,
        title:"地址",
        isAuth:true
      }
  },
  {
    path: '/dz',
    name: 'dz',
    component: ()=> import("../views/dz.vue"),
    meta:{
        isShowTab:false,
        isShowNav:true,
        title:"新建地址",
        isAuth:true
      }
  },


 
]

export default routes;